SGChangedSource
TheSGChangedSource
function allows you to tell the sequence grabber that your component is now using a different device.
pascal ComponentResult SGChangedSource (SeqGrabComponent s, SGChannel c);
s
- Specifies the component instance that identifies the sequence grabber component that is using your channel. The sequence grabber provides this to you when it calls your
SGInitChannel
function (described on page 6-36).c
- Identifies the connection to your channel.
DESCRIPTION
Applications can instruct your channel to change its input device, for example, by calling the sequence grabber'sSGSetChannelDevice
function. The sequence grabber passes this request on to your channel component. Whenever you successfully change your input device, you should tell the sequence grabber by calling itsSGChangedSource
function. This allows the sequence grabber to update the information it keeps about your channel.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help